<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tabellen Feld editieren</title>
<template>admin.html</template>
<usergroup>10</usergroup>
</head>

<body>
<div com="detail_data" table="_table_field,_table" id="[get:id]" var="detail_table_field" property_modus="false"></div>
<form id="form2" name="form2" method="post" action="/datenbank?id=[form:id]" com="add_table_field" property_modus="false">
  <p>Tabelle <strong>[table_caption] </strong></p>
  <p>Tabellen Feld <strong>[field_name]</strong>
    <input name="field_name" type="hidden" id="field_name" value="[field_name]" />
  </p>
  <p>Tabellen Feld (Caption)
    <input com="db_input" field="field_caption" var="detail_table_field" type = "text" name = "field_caption" id="field_caption" set_focus="true" />
  </p>
  <p> Typ <br />
    <label>
      <select id = "field_type" name = "__field_type" com="db_select" table="_field_type" orderby="field_type" field="field_type"  selected_value="__field_type" var="detail_table_field">
      </select>
    </label>
  </p>
  <p>Join Field<br />
    <label for="join_field"></label>
    <input type="text" name="join_field" id="join_field" />
  <!--<option value = "text">Text</option>
            <option value = "long_text">Langer Text</option>
            <option value = "number">Zahl</option>
            <option value = "rational_number">Komma Zahl</option>
            <option value = "email">eMail</option>
            <option value = "url">Url</option>
            <option value = "file">Datei</option>
            <option value = "image">Bild</option>
            <option value = "html">Html</option>
            <option value = "date">Datum</option>
            <option value = "time">Zeit</option>
            <option value = "checkbox">Ja/Nein</option>
            <option value = "join">VerknÃ¼pfungsfeld</option>--></p>
  <p>Default Value<br />
    <label for="default_value"></label>
    <input type="text" name="default_value" id="default_value" com="db_input" field="default_value" var="detail_table_field" />
  </p>
  <p>
    <label>
      <input name = "unique_index" type = "checkbox" com="db_checkbox" field="unique_index" var="detail_table_field" id = "unique_index2" />
      Unique Index</label>
  </p>
  <p>
    <label>
      <input name = "search_index" type = "checkbox" com="db_checkbox" field="search_index" var="detail_table_field" />
      Search Index</label>
  </p>
  <p>
    <label>
      <input name = "form_visible" type = "checkbox" com="db_checkbox" field="form_visible" var="detail_table_field" />
      Form Visible</label>
  </p>
  <p>
    <label>
    <input name = "table_visible" type = "checkbox" id="table_visible" com="db_checkbox" field="table_visible" var="detail_table_field" />
    Table Visible</label></p>
  <p>
  <label>
    <input name = "detail_visible" type = "checkbox" id="detail_visible" com="db_checkbox" field="detail_visible" var="detail_table_field" />
    Detail Visible</label></p>
  <p>
    <label for="error_message"></label>
    <label>
      <input name = "required" type = "checkbox" com="db_checkbox" field="required" var="detail_table_field" />
      Required</label>
  </p>
  <p>Fehler Meldung<br />
    <textarea com="db_textarea" field="error_message" var="detail_table_field" name="error_message" id="error_message" cols="45" rows="5"></textarea>
  </p>
  <p>
    <input type = "submit" value = "ok" />
    <input name = "table_name" type = "hidden" id="table_name" value = "[table_name]" />
  </p>
</form>
</body>
</html>
